package com.foryou.wechat.common;

/**
 * Created by Lee.
 */
public class Constants {

    public static final String USER_YES = "Y";

    public static final String USER_NO = "N";

    public static final String DATA_EXIST = "该数据已存在，不允许重复添加！";

    public static final String EDIT_USER_INFO = "请先去个人中心完善资料！";

    public static final String OPERATION_FAILURE = "this is operation failure...";

    public static final String DATE_FORMAT_PATTERN = "yyyy-MM-dd";

    public static final String DATE_FORMAT_PATTERN_CH = "yyyy年MM月dd日";

    public static final String DATE_FORMAT_PATTERN2 = "yyyy-MM";

    public static final String DATE_TIME_FORMAT_PATTERN = "yyyy-MM-dd HH:mm:ss";

    //微信请求部分
    public static final String WX_LOGIN_URL  = "https://api.weixin.qq.com/sns/jscode2session";

    public static final String WX_LOGIN_GRANT_TYPE  = "authorization_code";

    public static final String SESSION_USER_KEY = "current_user_key";
}
